﻿namespace SimpleInOutControl.Common
{
    /// <summary>
    /// 分页数据结构
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PagingData<T> where T : class, new()
    {
        /// <summary>
        /// 记录数
        /// </summary>
        public int RecordCount { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 数据集合
        /// </summary>
        public List<T> DataList { get; set; }
    }
}
